package model

import (
	"time"
)

type AuCarRepairInfo struct {
	Rid                           int       `xorm:"not null pk autoincr INT(11)"`
	OrderId                       string    `xorm:"not null VARCHAR(128)"`
	Vin                           string    `xorm:"not null index VARCHAR(32)"`
	Componentanalyzerepairtimes   int       `xorm:"not null default 0 INT(3)"`
	Outsideanalyzerepair          int       `xorm:"not null default 0 INT(3)"`
	Constructanalyzerepairrecords int       `xorm:"not null default 0 INT(3)"`
	Lastmaintaintime              time.Time `xorm:"not null default '0000-00-00' DATE"`
	Maintaintimes                 int       `xorm:"not null default 0 INT(3)"`
	Lastrepairtime                time.Time `xorm:"not null default '0000-00-00' DATE"`
	Mileageeveryyear              int       `xorm:"not null default 0 INT(11)"`
	Normalrepairrecords           string    `xorm:"TEXT"`
	ThirdParty                    int       `xorm:"not null default 1 TINYINT(1)"`
	Createtime                    time.Time `xorm:"default '0000-00-00 00:00:00' DATETIME"`
	Type                          int       `xorm:"not null default 1 TINYINT(2)"`
	RequestAppkey                 string    `xorm:"not null default '' VARCHAR(20)"`
}
